home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / H-I / Intro to Viruses.cpt / Intro to Viruses / card_2144.txt < prev    next >
Text File  |  1989-02-18  |  3KB  |  124 lines

  1. -- card: 2144 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2655
  5. -- name: Table of Contents
  6.  
  7.  
  8. -- part 43 (field)
  9. -- low flags: 03
  10. -- high flags: 0000
  11. -- rect: left=115 top=39 right=73 bottom=417
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 2
  16. -- text size: 12
  17. -- style flags: 256
  18. -- line height: 16
  19. -- part name: Title
  20.  
  21.  
  22. -- part 44 (field)
  23. -- low flags: 03
  24. -- high flags: 0000
  25. -- rect: left=141 top=281 right=301 bottom=372
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 1
  29. -- font id: 2
  30. -- text size: 12
  31. -- style flags: 256
  32. -- line height: 16
  33. -- part name: Click
  34.  
  35.  
  36. -- part 47 (field)
  37. -- low flags: 03
  38. -- high flags: 0000
  39. -- rect: left=46 top=76 right=289 bottom=485
  40. -- title width / last selected line: 0
  41. -- icon id / first selected line: 0 / 0
  42. -- text alignment: 0
  43. -- font id: 2
  44. -- text size: 12
  45. -- style flags: 0
  46. -- line height: 16
  47. -- part name: Contents
  48. ----- HyperTalk script -----
  49. on mouseup
  50.   put clickline() into thenum
  51.   put line thenum of target into theline
  52.   repeat until "‚óä" is not in theline
  53.     delete char offset ("‚óä",theline) of theline
  54.   end repeat
  55.   repeat until "‚Ä¢" is not in theline
  56.     delete char offset ("‚Ä¢",theline) of theline
  57.   end repeat
  58.   repeat until space is not first char of theline
  59.     delete first char of theline
  60.   end repeat
  61.   put char 1 to 27 of theline into theline
  62.   lock screen
  63.   --put theline
  64.   ---
  65.   go card theline
  66.   unlock screen with visual barn door open
  67. end mouseup
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75. function clickline
  76. --this function returns the line that was clicked on
  77. --use with a mouseup script in a locked field
  78. --"put line clickline() of target into container"
  79. if style of the target is "scrolling" then
  80.   put trunc((((((item  2 of the clickloc+the scroll of the target))- item 2 of the rect of the target)/ (the textheight of the target))+1)) into number
  81. else
  82.   put trunc(((((item  2 of the clickloc)- item 2 of the rect of the target)/ (the textheight of the target))+1)) into number
  83. end if
  84. return number
  85. end clickline
  86.  
  87.  
  88.  
  89. -- part contents for background part 4
  90. ----- text -----
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100. -- part contents for card part 43
  101. ----- text -----
  102. An Introductory Guide to Virus Handling
  103. Table of Contents
  104.  
  105. -- part contents for card part 44
  106. ----- text -----
  107. Click on a Topic to go to it
  108.  
  109. -- part contents for card part 47
  110. ----- text -----
  111. ‚óäWhat Are Computer Viruses?
  112. ‚óäHow Do Viruses Affect Me?
  113. ‚óäHow Are Viruses Spread?
  114. ‚óäHow Can They Be stopped?
  115. ‚óäThe Three Steps of Handling Viruses
  116. ‚óäVirus Handling by the Numbers- A Guide for the Uninitiated
  117. ‚óäPrograms and Techniques for:
  118.         ‚Ä¢Protection
  119.         ‚Ä¢Detection
  120.         ‚Ä¢Eradication
  121. ‚óäWhere to Obtain Products
  122. ‚óäFor the Technically Inclined
  123. ◊Credits
  124.